﻿<%@ Page Language="VB" MasterPageFile="~/Views/Shared/Login.Master" Inherits="System.Web.Mvc.ViewPage(of AccountViewModel)" %>
<asp:Content ID="RegisterTitle" ContentPlaceHolderID="TitleContent" runat="server">
   <%=Model.Title%>
</asp:Content>
<asp:Content ID="RegisterContent" ContentPlaceHolderID="MainContent" runat="server">

<%=Html.CustomValidationSummary()%> 
    <% Using Html.BeginForm() %>
                <p>
                    <label for="username">Email<br />
                    <%=Html.TextBox("email", "", New With {.id = "email", .class = "input", .size = "20"})%>
                    <%= Html.ValidationMessage("email") %></label>
                </p>
                <p>
                    <label for="password">Password<br />
                    <%= Html.Password("password", "", New With {.id = "password", .class = "input", .size = "20"})%>
                    <%= Html.ValidationMessage("password") %></label>
                </p>
                <p>
                    <label for="confirmPassword">Confirm password<br />
                    <%=Html.Password("confirmPassword", "", New With {.id = "confirmPassword", .class = "input", .size = "20"})%>
                    <%= Html.ValidationMessage("confirmPassword") %></label>
                </p>
                <p class="submit"> 
                    <input type="submit" name="submit" id="submit" value="Register" />
                </p>
    <% End Using %>
<p id="nav"> 
    <%=Html.ActionLink("Already have an account?", "Login")%> |
    <%=Html.ActionLink("Lost your password?", "LostPassword")%> 
</p> 
</asp:Content>
